package com.mer.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mer.entity.Order;
import com.mer.vo.CommonResult;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;

/**
 * @program: IIPhase-project
 * @description: 订单数据操作层
 * @author: 张庆恒
 * @create: 2021-10-22 10:00
 **/
public interface OrderMapper extends BaseMapper<Order> {
    //根据搜索条件查询全部订单信息
    Page<Order> getAllOrder(Page<Order> orderPage, @Param(Constants.WRAPPER) QueryWrapper<Order> wrapper);
}
